import 'package:flutterhouse/constants/index.dart';
import 'package:flutterhouse/utils/DioRequest.dart';

// 获取公告列表
Future<dynamic> getAnnounceListAPI() => requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
// 获取公告详情
Future<dynamic> getAnnounceDetailAPI(String id) =>
    requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
